package com.OrderingSystem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author Chenlin
 * @since 2025-08-21
 */
@ApiModel(value="Systemlog对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Systemlog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "日志类型，0 正常，1 异常")
    private Integer logtype;

    @ApiModelProperty(value = "用户openid")
    private String nowuser;

    @ApiModelProperty(value = "调用方法名")
    private String methodname;

    @ApiModelProperty(value = "日志描述")
    private String logdescription;

    @ApiModelProperty(value = "方法参数")
    private String methodparms;

    @ApiModelProperty(value = "返回值类型")
    private String methodtype;

    @ApiModelProperty(value = "返回值")
    private String methodteturn;

    @ApiModelProperty(value = "异常信息")
    private String exmessage;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createtime;

}
